package com.broada.apm.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * 
 * @author liss Create By 2014年11月21日 下午3:54:28
 */
@JsonTypeName("application")
public class ApplicationSystem implements Serializable  {

	/**
	 * <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 系统id
	 */
	private String id;
	/**
	 * 时间
	 */
	private Date time;

	/**
	 * 系统名称
	 */
	private String name;
	/**
	 * 关键服务节点
	 */
	private String keyNodeId;
	/**
	 * 系统节点关系集合
	 */
	private List<Relation> relations;

	/**
	 * relationIds
	 */
	private String[] relationIds;
	/**
	 * 拓扑节点信息
	 */
	private List<Service> topoNodes;

	private String[] applicationIds;

	/**
	 * 系统状态
	 */
	private int status;
	/**
	 * 排序
	 */
	private long displayOrder;
	
	private long businessDisplayOrder;
	/**
	 * 系统apdex值
	 */
	private float apdex_t;
	
	private Date createAt;
	
	private String areaCode;

	private Boolean isShowHttp = false;
	
	private boolean isOverview = false;
	
	private Map<String, String> validTimeMap;
	
	public Boolean getIsShowHttp() {
		return isShowHttp;
	}

	public void setIsShowHttp(Boolean isShowHttp) {
		this.isShowHttp = isShowHttp;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public String[] getApplicationIds() {
		return applicationIds;
	}

	public void setApplicationIds(String[] applicationIds) {
		this.applicationIds = applicationIds;
	}

	public String getKeyNodeId() {
		return keyNodeId;
	}

	public void setKeyNodeId(String keyNodeId) {
		this.keyNodeId = keyNodeId;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Relation> getRelations() {
		return relations;
	}

	public void setRelations(List<Relation> relations) {
		this.relations = relations;
	}

	public List<Service> getTopoNodes() {
		return topoNodes;
	}

	public void setTopoNodes(List<Service> topoNodes) {
		this.topoNodes = topoNodes;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String[] getRelationIds() {
		return relationIds;
	}

	public void setRelationIds(String[] relationIds) {
		this.relationIds = relationIds;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public float getApdex_t() {
		return apdex_t;
	}

	public void setApdex_t(float apdex_t) {
		this.apdex_t = apdex_t;
	}

	public long getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(long displayOrder) {
		this.displayOrder = displayOrder;
	}

	public boolean getIsOverview() {
		return isOverview;
	}

	public void setIsOverview(boolean isOverview) {
		this.isOverview = isOverview;
	}

	public long getBusinessDisplayOrder() {
		return businessDisplayOrder;
	}

	public void setBusinessDisplayOrder(long businessDisplayOrder) {
		this.businessDisplayOrder = businessDisplayOrder;
	}

	public Map<String, String> getValidTimeMap() {
		return validTimeMap;
	}

	public void setValidTimeMap(Map<String, String> validTimeMap) {
		this.validTimeMap = validTimeMap;
	}

}
